package projeto.administrativo.funcionario.cdp;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue("1")
public class Funcionario extends ResponsavelAtividade {

	String rg;
	String cpf;
	java.util.Date dataAdmissao;
	java.util.Date dataDemissao;

	//@Column(unique = true)
	public String getRg() {
		return rg;
	}

	public void setRg(String rg) {
		this.rg = rg;
	}

	//@Column(unique = true)
	public String getCpf() {
		return cpf;
	}

	public void setCpf(String cpf) {
		this.cpf = cpf;
	}

	public java.util.Date getDataAdmissao() {
		return dataAdmissao;
	}

	public void setDataAdmissao(java.util.Date dataAdmissao) {
		this.dataAdmissao = dataAdmissao;
	}

	public java.util.Date getDataDemissao() {
		return dataDemissao;
	}

	public void setDataDemissao(java.util.Date dataDemissao) {
		this.dataDemissao = dataDemissao;
	}

}
